package com.yjy.service;

import java.util.List;
import java.util.Map;

import com.system.common.pojo.SysRole;
import com.system.common.pojo.SysUser;

public interface SysUserService {
	
	public List<SysUser> listAll(Map<?, ?> map);
	public void save(SysUser user);
	public void update(SysUser user);
	public void delete(String uid);
	public SysUser getById(String uid);
	public SysUser getByAP(String account,String password);//根据账号和密码判断用户是否存在
	public SysRole getByUserId(String uid);//获取用户的角色信息
	public void move(String userId,String deptId);
	public List<SysUser> queryUserIds(String ids);
	public boolean checkName(String account);
	public boolean change(Map<String, Object> map);
}
